/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img,
ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
body {
  color: #4B4F56;
  font: normal 16px -apple-system, 'BlinkMacSystemFont', 'Roboto', sans-serif;
  text-align: left;
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
  -webkit-transition: background 0.3s,  color 0.3s;
  transition: background 0.3s,  color 0.3s;
}
/**
 * Common classes.
 */
@media only screen and (min-width: 480px) {
  .wrapper {
    margin: 0px 20px;
  }
}
@media only screen and (min-width: 900px) {
  .wrapper {
    margin: 0px 40px;
  }
}
@media only screen and (min-width: 1024px) {
  .wrapper {
    margin: 0px 80px;
  }
}
@media only screen and (min-width: 1200px) {
  .wrapper {
    margin: 0px 120px;
  }
}
@media only screen and (min-width: 1500px) {
  .wrapper {
    margin: 0px 120px;
  }
}
.spacer {
  flex-grow: 1;
}
/**
 * Navigation
 */
nav ul {
  display: flex;
  flex-flow: row nowrap;
}
nav ul li {
  padding: 0 6px;
  display: block;
}
nav ul li a {
  border-radius: 2px;
  font-size: 14px;
  padding: 0px 16px;
  height: 36px;
}
/**
 * Header
 */
.headerContainer {
  background: #6A51B2;
  color: #fff;
  height: 64px;
  padding: 0px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
  position: fixed;
  z-index: 1;
}
header {
  display: flex;
  flex-flow: row;
  text-align: left;
  padding: 8px 0px;
  align-items: center;
}
header a {
  border: 0;
  color: #fff;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}
header img {
  height: 48px;
  width: 48px;
  margin-right: 12px;
}
header h2 {
  font-size: 18px;
}
/**
 * Header Navigation
 */
 header nav ul li a {
   color: #fff;
 }
 header nav ul li a:hover {
   background-color: #DDD5F0;
   color: #4B4F56;
 }
 /**
  * Footer
  */
 .footerContainer {
   border-top: 1px solid #DDD5F0;
   background: #fff;
   color: #6A51B2;
   text-align: left;
   display: flex;
   flex-direction: column;
 }
 .footerContainer a {
   border: 0;
   display: flex;
   flex-flow: row nowrap;
   align-items: center;
 }
 footer {
   padding: 10px 0px;
   display: flex;
   flex-flow: row wrap;
   align-items: center;
   align-content: center;
 }
 /**
  * Footer Navigation
  */
 footer nav ul li a {
   color: #6A51B2;
 }
 footer nav ul li a:hover {
   background-color: #DDD5F0;
 }
 /**
  * Footer Open Source
  */
 footer .fboss {
   align-items: center;
   display: flex;
   flex-flow: row nowrap;
   font-size: 14px;
 }
 footer .fboss .facebookOSSLogoSvg {
   flex: 0 0 31px;
   height: 30px;
   margin-right: 10px;
   width: 31px;
 }
 footer .fboss .facebookOSSLogoSvg path {
   fill: #6A51B2;
 }
 footer .fboss .facebookOSSLogoSvg .middleRing {
   opacity: 0.7;
 }
 footer .fboss .facebookOSSLogoSvg .innerRing {
   opacity: 0.45;
 }
 footer .fboss h2 {
   font-size: 14px;
 }
/**
 * API Container
 */
.apiContainer {
  padding-top: 64px;
}
iframe {
  display: block;
  width: 100%;
  height: 100%;
}
/**
 * Contents Container
 */
.contentsContainer {
  background-color: #F6F7F9;
  padding: 64px 0px 0px;
}
.instructionsContainer {
  background-color: #E9EBEE;
  border-top: 1px solid #DDD5F0;
}
.instructionsContainer.alternate {
    background-color: #F6F7F9;
}
/**
 * Sections
 */
section {
  margin: 36px;
}
section h2 {
  color: #6A51B2;
  font-size: 30px;
  font-style: normal;
  margin-bottom: 24px;
  font-weight: 300;
  font-style: italic;
}
section h3 {
  color: #6A51B2;
}
section ol, section ul {
  margin: 20px 0px 0px;
}
section ol {
  list-style: decimal none inside;
}
/**
 * Intro and Features
 */
.introContainer, .featureContainer {
  display: flex;
  margin-top: 20px;
  flex-direction: column;
}
@media only screen and (min-width: 480px) {
  .introContainer, .featureContainer {
    flex-direction: column;
  }
}
@media only screen and (min-width: 900px) {
  .featureContainer {
    flex-direction: row;
  }
}
@media only screen and (min-width: 1200px) {
  .introContainer {
    flex-direction: row;
  }
}
.intro {
  flex: 1;
}
.intro ul {
  list-style: circle inside;
}
.intro li {
  padding: 6px 0px;
}
.feature {
  background-color: #fff;
  flex: 1;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
  padding: 12px 24px;
}
.feature p {
  padding: 24px 0px 12px;
  font-style: italic;
}
@media only screen and (min-width: 480px) {
  .intro, .feature {
    margin: 12px 0px;
  }
}
@media only screen and (min-width: 900px) {
  .feature {
    margin: 12px;
  }
}
@media only screen and (min-width: 1200px) {
  .intro, .feature {
    margin: 24px;
  }
}
h4 {
  display: block;
  margin-top: 6px;
  text-align: center;
  font-style: italic;
}
/**
 * Code
 */
pre {
  background-color: #4c4c4c;
  padding: 12px;
  margin: 24px auto;
  color: #fff;
  max-width: 800px;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
  line-height: 1.5em;
  font-family: Consolas, Monaco, Menlo, monospace;
  white-space: pre-wrap;       /* CSS 3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
pre.highlight {
  background-color: #fff;
  color: #4c4c4c;
  padding: 12px;
  margin: 0px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}
@media only screen and (min-width: 480px) {
  pre.highlight {
    padding: 12px;
  }
}
@media only screen and (min-width: 900px) {
  pre.highlight {
    padding: 24px;
  }
}
code {
  color: #6A51B2;
  font-family: Consolas, Monaco, Menlo, monospace;
}
